<template>
    <div>
      <h2 @click="showName">学校名称：{{name}}</h2>
      <h2>学校地址：{{address}}</h2>
    </div>
</template>
  
<script>
  // 引入一个 hunhe
  import { hunhe, hunhe2 } from '../mixin'

  export default {
    name: 'SchoolComponent',
    data(){
      return {
        name:'尚硅谷',
        address:'深圳*南山'
      }
    },
    minixs: [hunhe, hunhe2],
  }
</script>